[#import "/framework/JGP.htm"  as JGP]
<!--
项目   parent
作者   LOUFEI [Gavin]
时间   2018/4/5
-->
[@JGP.head "Title"/]
[@JGP.body]
    <jgp-div _row="['40','*']" _runit="px">
        <div slot="1-1">
            <jgp-btn _fn="saveCallback" _form="userForm">注册</jgp-btn>
        </div>
        <jgp-form slot="2-1" _id="userForm" _action="/security/admin/adminApiController/createUser" _cols="12">
            <jgp-text _name="username" _col="12" _label="用户名" _placeholder="用户名" _required="true"></jgp-text>
            <jgp-text _name="password" _col="12" _label="密码" _placeholder="密码" _required="true"></jgp-text>
        </jgp-form>
    </jgp-div>
[/@JGP.body]

[@JGP.foot]
<script>
    function login() {
        JGP.form('loginForm').submit();
    }
</script>
[/@JGP.foot]